<template>
<<<<<<< HEAD
  <div class="page">
    <header class="topbar">
      <div class="container nav">
        <div class="brand">
          <span class="brand-icon">🏛️</span>
          国家社会保险公共服务平台
        </div>
        <button class="mobile-menu-toggle" @click="toggleMobileMenu" aria-label="切换菜单">
          <span class="hamburger" :class="{ active: mobileMenuOpen }"></span>
        </button>
        <nav class="menu" :class="{ active: mobileMenuOpen }" role="navigation" aria-label="主导航">
          <a href="#" class="active" aria-current="page">首页</a>
          <a href="#" @click="handleNavClick">社保查询</a>
          <a href="#" @click="handleNavClick">养老保险</a>
          <a href="#" @click="handleNavClick">医保服务</a>
          <a href="#" @click="handleNavClick">我的</a>
        </nav>
=======
  <div id="app">
    <header>
      <div class="header-left">
        <div class="brand-title">超级无敌嘎嘎权威应当的多民族社保政务平台</div>
>>>>>>> cc1b2d710d54dd0c98fef47de8d52b7f4d764860
      </div>
      <select v-model="$i18n.locale" aria-label="language switcher">
        <option value="zh">中文</option>
        <option value="ug">ئۇيغۇرچە</option>
        <option value="bo">བོད་ཡིག</option>
      </select>
    </header>
    <main>
      <div class="container">
<<<<<<< HEAD
        <div class="hero-content">
          <h1>欢迎来到社保平台</h1>
          <p class="hero-subtitle">一站式社保服务，让生活更便捷</p>
          
          <div class="search" role="search">
            <div class="search-wrapper">
              <input 
                v-model="keyword" 
                type="text" 
                placeholder="请输入您要办理的事项" 
                @keydown.enter="onSearch"
                @input="onSearchInput"
                aria-label="搜索服务"
                autocomplete="off"
              />
              <button @click="onSearch" :disabled="!keyword.trim()" aria-label="搜索">
                <span class="search-icon">🔍</span>
                搜索
              </button>
            </div>
            <div v-if="searchSuggestions.length > 0" class="search-suggestions">
              <div 
                v-for="suggestion in searchSuggestions" 
                :key="suggestion"
                class="suggestion-item"
                @click="selectSuggestion(suggestion)"
              >
                {{ suggestion }}
              </div>
            </div>
          </div>
        </div>
        
        <div class="hero-stats">
          <div class="stat-item">
            <div class="stat-number">1200万+</div>
            <div class="stat-label">服务用户</div>
          </div>
          <div class="stat-item">
            <div class="stat-number">99.9%</div>
            <div class="stat-label">系统稳定性</div>
          </div>
          <div class="stat-item">
            <div class="stat-number">24/7</div>
            <div class="stat-label">在线服务</div>
          </div>
        </div>
      </div>
    </section>

    

    <main class="container main">
      <section class="services-section">
        <h2 class="section-title">
          <span class="title-icon">⚡</span>
          主题服务
        </h2>
        <div class="cards">
          <div 
            class="card" 
            v-for="(srv, index) in services" 
            :key="srv.title"
            :style="{ '--animation-delay': `${index * 0.1}s` }"
            @click="handleServiceClick(srv)"
            role="button"
            tabindex="0"
            @keydown.enter="handleServiceClick(srv)"
            @keydown.space.prevent="handleServiceClick(srv)"
          >
            <div class="card-icon" :style="{ background: srv.color }">
              <span class="icon">{{ srv.icon }}</span>
            </div>
            <div class="card-body">
              <h3 class="card-title">{{ srv.title }}</h3>
              <p class="card-desc">{{ srv.desc }}</p>
              <div class="card-arrow">→</div>
            </div>
          </div>
        </div>
      </section>

      <section class="stats-section">
        <h2 class="section-title">
          <span class="title-icon">📊</span>
          平台数据
        </h2>
        <div class="stats">
          <div class="stat" v-for="(stat, index) in platformStats" :key="stat.label">
            <div class="stat-icon">{{ stat.icon }}</div>
            <div class="stat-content">
              <div class="stat-num">{{ stat.number }}</div>
              <div class="stat-label">{{ stat.label }}</div>
            </div>
          </div>
        </div>
      </section>
    </main>

    <section class="carousel" @mouseenter="pause" @mouseleave="play" role="region" aria-label="特色服务轮播">
      <div class="container">
        <div class="carousel-header">
          <h2 class="carousel-title">
            <span class="title-icon">🌟</span>
            特色服务
          </h2>
        </div>
        <div class="viewport">
          <div class="track" :style="{ transform: `translateX(-${currentIndex * 100}%)` }">
            <div 
              class="slide" 
              v-for="(s, i) in slides" 
              :key="i" 
              :style="{ background: s.bg }"
              :aria-hidden="i !== currentIndex"
            >
              <div class="slide-content">
                <div class="slide-icon">{{ s.icon }}</div>
                <h3>{{ s.title }}</h3>
                <p>{{ s.desc }}</p>
                <button class="slide-button" @click="handleSlideAction(s)">
                  了解更多
                  <span class="button-arrow">→</span>
                </button>
              </div>
            </div>
          </div>
          <button 
            class="nav prev" 
            @click="prev" 
            aria-label="上一个幻灯片"
            :disabled="currentIndex === 0"
          >
            ‹
          </button>
          <button 
            class="nav next" 
            @click="next" 
            aria-label="下一个幻灯片"
            :disabled="currentIndex === slides.length - 1"
          >
            ›
          </button>
        </div>
        <div class="dots" role="tablist" aria-label="幻灯片导航">
          <button 
            v-for="(s, i) in slides" 
            :key="`dot-${i}`" 
            :class="['dot', { active: i === currentIndex }]" 
            @click="go(i)" 
            :aria-label="`切换到第${i + 1}张幻灯片`"
            role="tab"
            :aria-selected="i === currentIndex"
          ></button>
        </div>
      </div>
    </section>

    <footer class="footer">
      <div class="container foot">
        <div class="footer-content">
          <div class="footer-info">
            <div class="footer-brand">
              <span class="brand-icon">🏛️</span>
              国家社会保险公共服务平台
            </div>
            <p class="footer-desc">为您提供便捷、安全、高效的社保服务</p>
          </div>
          <div class="footer-links">
            <div class="link-group">
              <h4>服务指南</h4>
              <a href="#" @click="handleFooterClick">使用帮助</a>
              <a href="#" @click="handleFooterClick">常见问题</a>
              <a href="#" @click="handleFooterClick">服务热线</a>
            </div>
            <div class="link-group">
              <h4>法律条款</h4>
              <a href="#" @click="handleFooterClick">隐私政策</a>
              <a href="#" @click="handleFooterClick">使用条款</a>
              <a href="#" @click="handleFooterClick">免责声明</a>
            </div>
          </div>
        </div>
        <div class="footer-bottom">
          <div class="copyright">
            版权所有 © 2024 国家社会保险公共服务平台
          </div>
          <div class="footer-meta">
            <span>京ICP备12345678号</span>
            <span>|</span>
            <span>技术支持：社保信息化中心</span>
          </div>
        </div>
      </div>
    </footer>
    
    <!-- 加载状态 -->
    <div v-if="isLoading" class="loading-overlay">
      <div class="loading-spinner"></div>
      <p>正在加载...</p>
    </div>
  </div>
</template>

<script setup>
import { ref, onMounted, onBeforeUnmount, computed } from 'vue'

// 响应式状态
const keyword = ref('')
const mobileMenuOpen = ref(false)
const isLoading = ref(false)
const searchSuggestions = ref([])

// 服务数据
const services = [
  { 
    title: '关系转移', 
    desc: '企业职工、城乡居民养老保险关系转移申请。', 
    color: 'linear-gradient(135deg,#7aa7ff,#3d7eff)',
    icon: '🔄'
  },
  { 
    title: '参保登记', 
    desc: '单位与个人参保登记，信息变更与查询。', 
    color: 'linear-gradient(135deg,#7ee8fa,#80ff72)',
    icon: '📝'
  },
  { 
    title: '待遇资格', 
    desc: '养老待遇资格认证，待遇核定与发放进度。', 
    color: 'linear-gradient(135deg,#f6d365,#fda085)',
    icon: '✅'
  },
  { 
    title: '缴费记录', 
    desc: '历年缴费明细、基数与到账情况查询。', 
    color: 'linear-gradient(135deg,#a18cd1,#fbc2eb)',
    icon: '📊'
  }
]

// 平台统计数据
const platformStats = [
  { number: '1200万+', label: '覆盖参保人员', icon: '👥' },
  { number: '5000+', label: '线上可办事项', icon: '📋' },
  { number: '99.9%', label: '系统可用性', icon: '⚡' },
  { number: '24/7', label: '在线服务', icon: '🕐' }
]

// 搜索建议数据
const suggestionData = [
  '养老保险关系转移',
  '参保登记申请',
  '待遇资格认证',
  '缴费记录查询',
  '医保报销申请',
  '社保卡办理',
  '个人权益查询',
  '单位缴费申报'
]

// 计算属性
const filteredSuggestions = computed(() => {
  if (!keyword.value.trim()) return []
  return suggestionData.filter(item => 
    item.toLowerCase().includes(keyword.value.toLowerCase())
  ).slice(0, 5)
})

// 方法
function onSearch() {
  if (!keyword.value.trim()) return
  isLoading.value = true
  
  // 模拟搜索延迟
  setTimeout(() => {
    alert(`搜索：${keyword.value}`)
    isLoading.value = false
  }, 1000)
=======
        <router-view />
      </div>
    </main>
  </div>
</template>

<script>
import './assets/theme.css'
export default {
  name: 'App'
>>>>>>> cc1b2d710d54dd0c98fef47de8d52b7f4d764860
}

function onSearchInput() {
  searchSuggestions.value = filteredSuggestions.value
}

function selectSuggestion(suggestion) {
  keyword.value = suggestion
  searchSuggestions.value = []
  onSearch()
}

function toggleMobileMenu() {
  mobileMenuOpen.value = !mobileMenuOpen.value
}

function handleNavClick(event) {
  event.preventDefault()
  mobileMenuOpen.value = false
  // 这里可以添加路由跳转逻辑
  console.log('导航点击:', event.target.textContent)
}

function handleServiceClick(service) {
  console.log('服务点击:', service.title)
  // 这里可以添加服务跳转逻辑
}

function handleSlideAction(slide) {
  console.log('轮播图操作:', slide.title)
  // 这里可以添加轮播图操作逻辑
}

function handleFooterClick(event) {
  event.preventDefault()
  console.log('页脚链接点击:', event.target.textContent)
  // 这里可以添加页脚链接处理逻辑
}

// 轮播图数据与逻辑
const slides = [
  { 
    title: '社保关系线上办理', 
    desc: '足不出户办理关系转移与接续，让服务更便民。', 
    bg: 'linear-gradient(120deg,#6ea8fe,#54d5ff)',
    icon: '🏠'
  },
  { 
    title: '参保登记一站式', 
    desc: '个人与单位登记、变更、查询更便捷高效。', 
    bg: 'linear-gradient(120deg,#a8edea,#fed6e3)',
    icon: '⚡'
  },
  { 
    title: '待遇资格线上认证', 
    desc: '全流程进度可查，材料一次提交，省时省力。', 
    bg: 'linear-gradient(120deg,#fbc2eb,#a6c1ee)',
    icon: '📱'
  }
]
const currentIndex = ref(0)
let timer = 0

function next() {
  currentIndex.value = (currentIndex.value + 1) % slides.length
}

function prev() {
  currentIndex.value = (currentIndex.value - 1 + slides.length) % slides.length
}

function go(i) {
  currentIndex.value = i
}

function play() {
  stop()
  timer = window.setInterval(next, 5000) // 增加间隔时间
}

function pause() {
  stop()
}

function stop() {
  if (timer) {
    clearInterval(timer)
    timer = 0
  }
}

// 点击外部关闭移动菜单
function handleClickOutside(event) {
  if (mobileMenuOpen.value && !event.target.closest('.nav')) {
    mobileMenuOpen.value = false
  }
}

// 键盘导航支持
function handleKeydown(event) {
  if (event.key === 'Escape') {
    mobileMenuOpen.value = false
    searchSuggestions.value = []
  }
}

onMounted(() => {
  play()
  document.addEventListener('click', handleClickOutside)
  document.addEventListener('keydown', handleKeydown)
})

onBeforeUnmount(() => {
  stop()
  document.removeEventListener('click', handleClickOutside)
  document.removeEventListener('keydown', handleKeydown)
})
</script>

<<<<<<< HEAD
<style scoped>
/* 基础布局 */
.page { 
  display: flex; 
  flex-direction: column; 
  min-height: 100vh; 
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.container { 
  width: 100%; 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 16px; 
}

/* 顶部导航栏 */
.topbar { 
  position: sticky; 
  top: 0; 
  z-index: 100; 
  width: 100%; 
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff; 
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  backdrop-filter: blur(10px);
  padding: 8px 0;
}

.nav { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  height: 80px; 
  position: relative;
  padding: 0 20px;
}

.brand { 
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700; 
  letter-spacing: 0.5px; 
  white-space: nowrap;
  font-size: 20px;
  padding: 8px 0;
}

.brand-icon {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: rgba(255,255,255,.1);
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.hamburger.active {
  background: transparent;
}

.hamburger.active::before {
  transform: rotate(45deg);
  top: 0;
}

.hamburger.active::after {
  transform: rotate(-45deg);
  top: 0;
}

.menu { 
  display: flex; 
  gap: 24px; 
  margin: 0;
  transition: all 0.3s ease;
}

.menu a { 
  color: #e8f0ff; 
  opacity: 0.9; 
  white-space: nowrap; 
  position: relative;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  margin: 0 4px;
}

.menu a.active, 
.menu a:hover { 
  color: #fff; 
  opacity: 1;
  background-color: rgba(255,255,255,.1);
  transform: translateY(-1px);
}

.menu a::after { 
  content: ""; 
  position: absolute; 
  left: 50%;
  right: 50%;
  bottom: 4px; 
  height: 2px; 
  background: #fff;
  transform: scaleX(0); 
  transform-origin: center;
  transition: all .3s ease; 
}

.menu a:hover::after, 
.menu a.active::after { 
  transform: scaleX(1);
  left: 16px;
  right: 16px;
}

/* 英雄区域 */
.hero { 
  position: relative; 
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff; 
  padding: 80px 0; 
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero::before { 
  content: ""; 
  position: absolute; 
  width: 600px; 
  height: 600px; 
  background: radial-gradient(circle, rgba(255,255,255,.1), transparent 70%); 
  border-radius: 50%; 
  top: -200px; 
  left: -200px; 
  filter: blur(3px);
  animation: float 6s ease-in-out infinite;
}

.hero::after { 
  content: ""; 
  position: absolute; 
  width: 400px; 
  height: 400px; 
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%); 
  border-radius: 50%; 
  bottom: -150px; 
  right: -150px; 
  filter: blur(3px);
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 { 
  font-size: 48px; 
  margin-bottom: 16px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 300;
  animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 搜索区域 */
.search { 
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.search-wrapper {
  display: flex; 
  gap: 12px;
  background: rgba(255,255,255,.95);
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  backdrop-filter: blur(10px);
}

.search input { 
  flex: 1; 
  height: 50px; 
  border-radius: 25px; 
  border: none; 
  padding: 0 20px; 
  outline: none;
  font-size: 16px;
  color: #333;
  background: transparent;
}

.search input::placeholder {
  color: #999;
}

.search button { 
  height: 50px; 
  padding: 0 24px; 
  border-radius: 25px; 
  border: none; 
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff; 
  font-weight: 600; 
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, .4);
}

.search button:hover:not(:disabled) { 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, .6);
}

.search button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.search-icon {
  font-size: 18px;
}

/* 搜索建议 */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  margin-top: 8px;
  overflow: hidden;
  z-index: 10;
}

.suggestion-item {
  padding: 12px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  color: #333;
}

.suggestion-item:hover {
  background-color: #f5f5f5;
}

/* 英雄区域统计 */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,.3);
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
}

/* 主要内容区域 */
.main { 
  padding: 60px 0; 
  background: #fff;
}

.services-section,
.stats-section {
  margin-bottom: 60px;
}

.section-title { 
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px; 
  margin-bottom: 32px; 
  color: #2c3e50;
  font-weight: 700;
}

.title-icon {
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.1));
}

/* 服务卡片 */
.cards { 
  display: grid; 
  grid-template-columns: repeat(1, minmax(0, 1fr)); 
  gap: 24px;
}

.card { 
  display: flex; 
  gap: 20px; 
  background: #fff; 
  border-radius: 20px; 
  padding: 24px; 
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(102, 126, 234, .1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out var(--animation-delay, 0s) both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon { 
  width: 60px; 
  height: 60px; 
  border-radius: 16px; 
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.card-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.2), transparent);
  border-radius: 16px;
}

.icon {
  font-size: 28px;
  z-index: 1;
  position: relative;
}

.card-body {
  flex: 1;
  position: relative;
}

.card-title { 
  font-weight: 700; 
  color: #2c3e50;
  font-size: 18px;
  margin-bottom: 8px;
}

.card-desc { 
  color: #7f8c8d; 
  line-height: 1.6;
  margin-bottom: 12px;
}

.card-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #667eea;
  transition: transform 0.3s ease;
}

.card:hover .card-arrow {
  transform: translateY(-50%) translateX(4px);
}

/* 轮播图样式 */
.carousel { 
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 60px 0;
}

.carousel-header {
  text-align: center;
  margin-bottom: 40px;
}

.carousel-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 28px;
  color: #2c3e50;
  font-weight: 700;
}

.viewport { 
  position: relative; 
  overflow: hidden; 
  border-radius: 24px; 
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  background: #fff;
}

.track { 
  display: flex; 
  width: 100%; 
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide { 
  min-width: 100%; 
  display: flex; 
  align-items: center;
  position: relative;
  min-height: 300px;
}

.slide-content { 
  padding: 60px 40px;
  color: #fff;
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.slide-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.3));
}

.slide h3 { 
  color: #fff;
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,.3);
}

.slide p { 
  color: rgba(255,255,255,.9);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.slide-button {
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.3);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.slide-button:hover {
  background: rgba(255,255,255,.3);
  border-color: rgba(255,255,255,.5);
  transform: translateY(-2px);
}

.button-arrow {
  transition: transform 0.3s ease;
}

.slide-button:hover .button-arrow {
  transform: translateX(4px);
}

.nav { 
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%); 
  width: 50px; 
  height: 50px; 
  border-radius: 50%; 
  border: none; 
  background: rgba(255,255,255,.9);
  color: #2c3e50;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.nav:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
}

.nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.nav.prev { left: 20px; }
.nav.next { right: 20px; }

.dots { 
  display: flex; 
  justify-content: center; 
  gap: 12px; 
  padding: 30px 0 0;
}

.dot { 
  width: 12px; 
  height: 12px; 
  background: rgba(102, 126, 234, .3);
  border-radius: 50%; 
  border: none; 
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active { 
  background: #667eea;
  transform: scale(1.2);
}

.dot:hover {
  background: #667eea;
  transform: scale(1.1);
}

/* 统计数据 */
.stats { 
  display: grid; 
  grid-template-columns: repeat(2, minmax(0, 1fr)); 
  gap: 24px;
}

.stat { 
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
  border: 1px solid rgba(102, 126, 234, .1);
  border-radius: 20px; 
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(102, 126, 234, .15);
}

.stat-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.stat-content {
  position: relative;
  z-index: 1;
}

.stat-num { 
  font-weight: 800; 
  color: #667eea;
  font-size: 28px;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.stat-label { 
  color: #7f8c8d;
  font-weight: 500;
  font-size: 14px;
}

/* 页脚 */
.footer { 
  margin-top: auto; 
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #ecf0f1;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info {
  max-width: 400px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.footer-desc {
  color: #bdc3c7;
  line-height: 1.6;
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.link-group h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.link-group a {
  display: block;
  color: #bdc3c7;
  margin-bottom: 8px;
  transition: color 0.3s ease;
  font-size: 14px;
}

.link-group a:hover {
  color: #667eea;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  color: #95a5a6;
  font-size: 14px;
}

.footer-meta {
  display: flex;
  gap: 16px;
  color: #95a5a6;
  font-size: 12px;
}

.footer-meta span {
  opacity: 0.8;
}

/* 加载状态 */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero h1 { font-size: 56px; }
  .hero-stats { gap: 60px; }
  .footer-content { grid-template-columns: 1fr 3fr; }
}

@media (min-width: 1024px) {
  .container { max-width: 1280px; }
  .hero { padding: 100px 0; }
  .hero h1 { font-size: 64px; }
  .hero-subtitle { font-size: 24px; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .card { padding: 32px; }
  .stat { padding: 40px 32px; }
  .stat-num { font-size: 32px; }
  .slide-content { padding: 80px 60px; }
  .slide h3 { font-size: 40px; }
  .slide p { font-size: 20px; }
}

/* 移动端优化 */
@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .menu a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin: 0;
  }
  
  .menu a:last-child {
    border-bottom: none;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
  }
  
  .search-wrapper {
    flex-direction: column;
    gap: 8px;
  }
  
  .search input,
  .search button {
    height: 44px;
  }
  
  .cards {
    gap: 16px;
  }
  
  .card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .card-icon {
    align-self: center;
  }
  
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  
  .stat {
    padding: 24px 16px;
  }
  
  .slide-content {
    padding: 40px 20px;
  }
  
  .slide h3 {
    font-size: 24px;
  }
  
  .slide p {
    font-size: 16px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .carousel-title {
    font-size: 24px;
  }
  
  .nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .nav.prev {
    left: 10px;
  }
  
  .nav.next {
    right: 10px;
  }
=======
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
>>>>>>> cc1b2d710d54dd0c98fef47de8d52b7f4d764860
}
main {
  padding: 24px;
}
</style>
